package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("shop") // 指定数据库表名
public class Shop {
    @TableId(type = IdType.AUTO) // 指定主键生成策略
    private Integer id;
    private String code;
    private String name;
    private String pcode;
    private String province;
    private String city;
    private String country;
    private String address;
    private String contact;
    private String phone;
    private Integer state;
    private Date createTime;
    @TableField("is_delete")
    private Integer isDelete;
}